Skip to main content

short

Type

keyword

Summary

Specifies a format for the date and time functions, the convert command, and the name, ID, and owner properties.

Syntax

short

Description

Use the short keyword to obtain a date, time, name, or ID in the most compressed form available.

In general, a short form is shorter than either the abbreviated form or the long form.

If the useSystemDate property is set to false, a short date looks like this: 7/21/00 If the useSystemDate is true, the short date is formatted according to the system settings.

If the useSystemDate property is set to false, a short time looks like this: 11:22 AM If the useSystemDate is true, the short time is formatted according to the system settings.

A short object name is simply its name, with no qualifiers. For example, a short card name looks like this: This Card

A short object ID looks like this: 2238

note

The short keyword is implemented internally as a property and function, and appears in the propertyNames and the functionNames. However, it cannot be used as a property in an expression, nor with the set command.

Examples

put the short name of this card into field "Card Label"

command: convert, set

control structure: function

function: time, functionNames, dateFormat, format, date, propertyNames

glossary: keyword, property, command, function, expression

keyword: card, long, abbreviated

property: owner, properties, name, ID

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?